package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IReservationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ReservationTask {

    @Autowired
    private IReservationService reservationService;

    public void updateStatus() {
        log.info("更新预约状态");
        reservationService.updateStatus();
    }

}
